package com.cf.studiomanage.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.sql.Timestamp;

@Data
@Schema(description = "公告实体")
public class Announcement {
    @Schema(description = "公告ID")
    private Long id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "发布人ID")
    private Long createdBy;

    @Schema(description = "发布时间")
    private Timestamp createdAt;
}
